from predicte.predict import test
from predicte.predict1 import test1


def count_pre():
    a = test()
    b = test1()
    sum = []
    for i in range(len(a)):
        sun = a[i] + b[i]
        sun = sun / 2
        sum.append(sun)
    return sum, a, b

try:
    averages, list_a, list_b = count_pre()
    print("Averages:", averages)
    print("List from test():", list_a)
    print("List from test1():", list_b)
except Exception as e:
    print(f"An error occurred: {e}")